Class symantec.itools.db.beans.sqleditor.SQLKeywordsPanel
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class symantec.itools.db.beans.sqleditor.SQLKeywordsPanel

Object
   |
   +----Component
           |
           +----Container
                   |
                   +----JComponent
                           |
                           +----JPanel
                                   |
                                   +----symantec.itools.db.beans.sqleditor.SQLKeywordsPanel

public class SQLKeywordsPanel
extends JPanel

This class will display the SQL keywords in the SQL editor.

Version:
1.0 06/15/97
Author:
Hristo Tonev

Variable Index

 o PROP_DBL_CLICKED_ITEM
The name of the property that stores the last double clicked item
 o changeSupport

Constructor Index

 o symantec.itools.db.beans.sqleditor.SQLKeywordsPanel()
 o symantec.itools.db.beans.sqleditor.SQLKeywordsPanel(Connection)

Method Index

 o addPropertyChangeListener(PropertyChangeListener)
Add a PropertyChangeListener to the listener list.
 o buildDBMSKeywords(String)
 o firePropertyChange(String, Object, Object)
Support for reporting bound property changes.
 o getConnection()
 o getDatabaseMetaData()
 o initializeGUI()
 o main(String[])
 o removePropertyChangeListener(PropertyChangeListener)
Remove a PropertyChangeListener from the listener list.
 o setConnection(Connection)
 o setDatabaseMetaData(DatabaseMetaData)

Variables

 o PROP_DBL_CLICKED_ITEM
public static final java.lang.String PROP_DBL_CLICKED_ITEM
The name of the property that stores the last double clicked item

 o changeSupport
protected java.beans.PropertyChangeSupport changeSupport

Constructors

 o SQLKeywordsPanel
public SQLKeywordsPanel()
 o SQLKeywordsPanel
public SQLKeywordsPanel(Connection connection)

Methods

 o addPropertyChangeListener
public synchronized void addPropertyChangeListener(PropertyChangeListener listener)
Add a PropertyChangeListener to the listener list. The listener is registered for all properties.

Parameters:
listener - The PropertyChangeListener to be added
Overrides:
addPropertyChangeListener in class JComponent
 o buildDBMSKeywords
protected void buildDBMSKeywords(String keywords)
 o firePropertyChange
protected void firePropertyChange(String propertyName,
                                  Object oldValue,
                                  Object newValue)
Support for reporting bound property changes. This method can be called when a bound property has changed and it will send the appropriate PropertyChangeEvent to any registered PropertyChangeListeners.

Overrides:
firePropertyChange in class JComponent
 o getConnection
public java.sql.Connection getConnection()
 o getDatabaseMetaData
public java.sql.DatabaseMetaData getDatabaseMetaData()
 o initializeGUI
protected void initializeGUI()
 o main
public static void main(String[] args)
 o removePropertyChangeListener
public synchronized void removePropertyChangeListener(PropertyChangeListener listener)
Remove a PropertyChangeListener from the listener list. This removes a PropertyChangeListener that was registered for all properties.

Parameters:
listener - The PropertyChangeListener to be removed
Overrides:
removePropertyChangeListener in class JComponent
 o setConnection
public void setConnection(Connection connection)
 o setDatabaseMetaData
protected void setDatabaseMetaData(DatabaseMetaData databaseMetaData)

All Packages  Class Hierarchy  This Package  Previous  Next  Index